//
//  LocationManager.h
//  BiuWeather
//
//  Created by 楼楚 on 16/4/6.
//  Copyright © 2016年 Chu Lou. All rights reserved.
//

#import <Foundation/Foundation.h>
@import CoreLocation;
@class LocationManager;
@protocol LocationManagerDelegate <NSObject>

@optional

- (void)mapManager:(LocationManager *)manager didUpdateAndGetLastCLLocation:(CLLocation *)location;
- (void)mapManager:(LocationManager *)manager didFailed:(NSError *)error;
- (void)mapManagerServerClosed:(LocationManager *)manager;

@end


@interface LocationManager : NSObject

@property(weak,nonatomic) id <LocationManagerDelegate> delegate;
@property (nonatomic, readonly) CLAuthorizationStatus          authorizationStatus;

- (void)start;



@end
